﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace AdminStyem.Domain.Entity
{
    /// <summary>
    /// 溯源表
    /// </summary>
     public class Traceability:Baseclass
    {
        /// <summary>
        /// 溯源Id
        /// </summary>
        [Key]
        public int TraceabilityId { get; set; }
        /// <summary>
        /// 商品Id（外键）
        /// </summary>
        public  int CommodityId {  get; set; }
        /// <summary>
        ///生产批次
        /// </summary>
        public string TraceabilityBatch {  get; set; }
        /// <summary>
        /// 保质期
        /// </summary>
        public string TraceabilityShelf { get; set;}

        /// <summary>
        /// 生产许可证
        /// </summary>
        public string TraceaDocuments {  get; set;}

        /// <summary>
        /// 生产企业
        /// </summary>
        public string Manufacturers { get; set;}

        /// <summary>
        /// 照片
        /// </summary>
        public string TraceabilityPhoto {  get; set;}
        /// <summary>
        /// 删除状态
        /// </summary>
        public bool IsDeleted { get; set; }
    }
}
